package com.kuangshen.objclass;

public class Person {

    public Person(String name){
        System.out.println("Person无参执行");
    }

    private int money = 10_0000_0000;

    protected String name = "kuangshen";

    public void say(){
        System.out.println("说了一句话");
    }

    public int getMoney(){
        return money;
    }

    public void setMoney(int money){
        this.money = money;
    }


    public void print(){
        System.out.println("Person");
    }
}
